package com.lee.chain.service.impl;

import com.lee.chain.service.AbstractLoggerHandler;
import org.springframework.stereotype.Component;

/**
 * @author zfl_a
 * @date 2020/8/11
 * @project springboot_design_pattern
 */
@Component
public class ConsoleLoggerHandler extends AbstractLoggerHandler {

    public ConsoleLoggerHandler(){
        this.level = 1 ;
    }

    @Override
    protected void saveLogMessage(String message) {
        System.out.println("Console: 标准日志输出...."+message);

        return ;
    }
}
